package edu.guet.command;

// 将一个接收者对象绑定与一个动作，调用接收者相应的操作，以实现execute
public class ConcreteCommand extends Command{


    public ConcreteCommand(Receiver receiver) {
        super(receiver);
    }

    @Override
    public void execute() {
        receiver.action();
    }
}
